package Controllers.GenericToolsForController;

public enum RequestMainStatusEnum 
{
	OPEN("1"),
	CLOSE("2"),
	SUSPEND("3");
	
	
	 private String text;

	 RequestMainStatusEnum(String text) {
	    this.text = text;
	  }
	 
	 public String getText() {
		    return this.text;
		  }
	 public static RequestMainStatusEnum fromString(String text) 
	 {
		 if (text != null) 
		 {
		    for (RequestMainStatusEnum b : RequestMainStatusEnum.values()) 
		    {
		        if (text.equalsIgnoreCase(b.text)) 
		        {
		          return b;
		        }
		      }
		    }
		    return null;
	  }
}
